package com.hzhjhh.view.manageView.menus.accountMng.accountQuery;

import javax.swing.JButton;

import com.hzhjhh.view.manageView.menus.accountMng.AccountQueryDialog;

/**
 * 菜单栏初始化-仓库-账户管理-个人账户查询弹出框-取消
 * 
 * @author 12083
 *
 */
public class CancelBt {

	/**
	 * 按钮
	 */
	public static JButton btInit(AccountQueryDialog accountQueryDialog) {
		JButton quit = new JButton();
		quit.setBounds(275, 317, 83, 25);
		quit.setText("取消");

		quit.addActionListener(event -> accountQueryDialog.setVisible(false));
		
		return quit;
	}
}
